﻿@using ERP.WebUI
@{
    List<SidebarMenuModel> sidebarMenuDataList = ViewBag.SidebarMenuModel;
    BreadCrumbNavModel breadCrumbNavData = ViewBag.BreadCrumbModel;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />

    <title>@ViewBag.Title</title>
    <link href="~/Content/admin/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/admin/css/bootstrap-responsive.min.css" rel="stylesheet" />
    <link href="~/Content/admin/css/uniform.css" rel="stylesheet" />
    <link href="~/Content/admin/css/select2.css" rel="stylesheet" />
    <link href="~/Content/admin/css/matrix-style.css" rel="stylesheet" />
    <link href="~/Content/admin/css/matrix-media.css" rel="stylesheet" />
    <link href="~/Content/admin/css/font.css" rel="stylesheet" />
    <link href="~/Content/admin/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="~/Content/alert/alert.css" rel="stylesheet" />
    <script src="~/Content/admin/js/jquery.min.js" type="text/javascript"></script>
    <script src="~/Content/admin/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="~/Content/admin/js/bootbox.min.js" type="text/javascript"></script>
    <script src="~/Content/admin/js/jquery.dataTables.min.js" type="text/javascript"></script>
    <script src="~/Content/admin/js/jquery.dataTables.AjaxSource.min.js" type="text/javascript"></script>
    <script src="~/Content/admin/js/select2.min.js" type="text/javascript"></script>
    <script src="~/Content/admin/js/matrix.js" type="text/javascript"></script>
    <script src="~/Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
     <script src="~/Content/alert/common.js" type="text/javascript"></script>
    @RenderSection("css", false)
</head>
<body>

    <!--Header-Part头部Begin-->
    <div id="header">
        <h1><a href="dashboard.html">ERP系统</a></h1>
    </div>
    <!--Header-Part头部End-->

    @Html.Partial("_HeaderMenu")

    @Html.Partial("_TopSearch")
    @{if (sidebarMenuDataList != null)
      {
        @Html.Partial("_SidebarMenu", sidebarMenuDataList)
      }
    }
    <!--main-container-part-->
    <div id="content">
        <!--BreadCrumbs-->
        @{if (breadCrumbNavData != null)
          {
            @Html.Partial("_BreadCrumb", breadCrumbNavData)
          }
        }
        <!--BreadCrumbs-->

        <!--Body-->
        <div class="container-fluid">
            @RenderBody()
        </div>
        <!--Body-->
    </div>
    <!--end-main-container-part-->

    <!--Footer-part-->
    @Html.Partial("_Footer")
    <!--end-Footer-part-->
    @Scripts.Render("~/bundles/jqueryval")
    @RenderSection("scripts", required: false)
    @Html.RenderScriptBlocks()
</body>
</html>
